package com.sky.service;

import com.sky.dto.DishPageQueryDTO;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void insertEmp(Employee emp);

    PageResult pageSelect(DishPageQueryDTO  query);

    Employee getById(Integer id);

    void updateById(Employee emp);

    void updateStatusById(Long id);
}
